$(()=> {
  let $pwd = $('input'),
      $eye = $('#deleye');

$eye.mouseover(() => {
  $pwd.attr('type', 'text');
});
$eye.mouseout(() => {
  $pwd.attr('type', 'password');
});

});



